package com.cd.mapper;

import com.cd.entity.BookCategory;
import com.cd.entity.BookCategoryExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface BookCategoryMapper {
    long countByExample(BookCategoryExample example);

    int deleteByExample(BookCategoryExample example);

    int deleteByPrimaryKey(Integer categoryId);

    int insert(BookCategory row);

    int insertSelective(BookCategory row);

    List<BookCategory> selectByExample(BookCategoryExample example);

    BookCategory selectByPrimaryKey(Integer categoryId);

    int updateByExampleSelective(@Param("row") BookCategory row, @Param("example") BookCategoryExample example);

    int updateByExample(@Param("row") BookCategory row, @Param("example") BookCategoryExample example);

    int updateByPrimaryKeySelective(BookCategory row);

    int updateByPrimaryKey(BookCategory row);
}